package br.com.locautowebbd.cor;

import br.com.locautowebbd.util.RepositorioException;


public interface RepositorioCores {

	public abstract boolean existe(int codigo) throws RepositorioException;

	public abstract void inserir(Cor novoCor)
			throws CorExistenteException, RepositorioException;

	public abstract void atualizar(Cor cor)
			throws CorInexistenteException, RepositorioException;

	public abstract Cor procurar(int codigo)
			throws CorInexistenteException, RepositorioException;

	public abstract void remover(int codigo) throws CorInexistenteException,
			RepositorioException;
}